Replace 'sudo rake' -> 'sudo bundle exec rake'.

Justin R. Porter 9 年之前
父节点
当前提交
6a010d44f5
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      doc/manual/installation.md

+ 3 - 3
doc/manual/installation.md

@@ -305,7 +305,7 @@ Visit YOUR_SERVER in your web browser for your first Huginn login. The setup has
305 305
 
306 306
 **Enjoy!** :sparkles: :star: :fireworks:
307 307
 
308
-You can use `cd /home/huginn/huginn && sudo rake production:start` and `cd /home/huginn/huginn && sudo rake production:stop` to start and stop Huginn.
308
+You can use `cd /home/huginn/huginn && sudo bundle exec rake production:start` and `cd /home/huginn/huginn && sudo bundle exec rake production:stop` to start and stop Huginn.
309 309
 
310 310
 Be sure to read the section about how to [update](./update.md) your Huginn installation as well! You can also use [Capistrano](./capistrano.md) to keep your installation up to date.
311 311
 
@@ -330,7 +330,7 @@ Restart Nginx, export the init script and restart Huginn:
330 330
 ```
331 331
 cd /home/huginn/huginn
332 332
 sudo service nginx restart
333
-sudo rake production:export
333
+sudo bundle exec rake production:export
334 334
 ```
335 335
 
336 336
 Using a self-signed certificate is discouraged, but if you must use it follow the normal directions. Then generate the certificate:
@@ -349,7 +349,7 @@ If something went wrong during the installation please make sure you followed th
349 349
 When your Huginn instance still is not working first run the self check:
350 350
 
351 351
     cd /home/huginn/huginn
352
-    sudo rake production:check
352
+    sudo bundle exec rake production:check
353 353
 
354 354
 We are sorry when you are still having issues, now please check the various log files for error messages:
355 355